package com.dhj.jvmstudy.chapter05;

/**
 * 同步省略说明，锁消除
 */
public class SynchronizedTest {

    public void f(){
        Object hello = new Object();

        synchronized (hello){
            System.out.println("hello world.");
        }

    }
}
